
CC = gcc

CFLAGS += -DDEBUG

LDFLAGS += -lpthread

CPPFLAGS = 

download:download.c http.c
	$(CC) $^ -o $@ $(LDFLAGS)

debug:download.c http.c
	$(CC) $^ -o $@ $(LDFLAGS) $(CFLAGS)

clean:
	$(RM) download